package com.fortune.dto.in.paymentMgt;

import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * TODO d_payment_order_info
 * @author ran
 *
 */
public class DistributorPaymentAddDto {

    @ApiModelProperty(example="付款编号")
    @NotBlank(message="付款编号不能为空")
    private String number;
    @ApiModelProperty(example="开单方(厂商,经销商)")
    @NotBlank(message="开单方不能为空")
    private String createType;
    @ApiModelProperty(example="付款金额")
    @NotNull(message="付款金额不能为空")
    private BigDecimal payPrice;
    @ApiModelProperty(example="付款日期")
    @NotNull(message="付款日期不能为空")
    private Date payTime;
    @ApiModelProperty(example="付款方式")
    @NotBlank(message="付款方式不能为空")
    private String payTypeId;
    @ApiModelProperty(example="付款流水号")
    @NotBlank(message="付款流水号不能为空")
    private String serialNumber;
    @ApiModelProperty(example="经销商经手人")
    @NotBlank(message="经销商经手人不能为空")
    private String duid;
    @ApiModelProperty(example="是否已确认收款")
    @NotBlank(message="是否已确认收款不能为空")
    private String isConfirm;

    @ApiModelProperty(example="收款确认日期")
    @NotNull(message="收款确认日期不能为空")
    private Date confirmTime;
    @ApiModelProperty(example="经销商ID")
    @NotNull(message="经销商ID不能为空")
    private String did;

    private List<OutPayId> outId;


    public String getDid() {
        return did;
    }

    public void setDid(String did) {
        this.did = did;
    }

    public List<OutPayId> getOutId() {
        return outId;
    }

    public void setOutId(List<OutPayId> outId) {
        this.outId = outId;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getCreateType() {
        return createType;
    }

    public void setCreateType(String createType) {
        this.createType = createType;
    }

    public BigDecimal getPayPrice() {
        return payPrice;
    }

    public void setPayPrice(BigDecimal payPrice) {
        this.payPrice = payPrice;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public String getPayTypeId() {
        return payTypeId;
    }

    public void setPayTypeId(String payTypeId) {
        this.payTypeId = payTypeId;
    }

    public String getSerialNumber() {
        return serialNumber;
    }

    public void setSerialNumber(String serialNumber) {
        this.serialNumber = serialNumber;
    }

    public String getDuid() {
        return duid;
    }

    public void setDuid(String duid) {
        this.duid = duid;
    }

    public String getIsConfirm() {
        return isConfirm;
    }

    public void setIsConfirm(String isConfirm) {
        this.isConfirm = isConfirm;
    }



    public Date getConfirmTime() {
        return confirmTime;
    }

    public void setConfirmTime(Date confirmTime) {
        this.confirmTime = confirmTime;
    }
}
